// 处理日期的工具
import dayjs from "dayjs"
export function formatMonthDay(date,formatStr = "MM月DD日") {
  return dayjs(date).format(formatStr)
}

export function getDiffDays(startDate, endDate) {
  return dayjs(endDate).diff(startDate,"day")
}